package com.wy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableCaching
@EnableScheduling
@MapperScan("boottest.mybatisrepo")
public class BootStrap {
    public static void main(String[] args) {
        // 设置自定义类加载器作为父类加载器
//        ClassLoader customClassLoader = new CustomClassLoader();
//        Thread.currentThread().setContextClassLoader(customClassLoader);

        SpringApplication.run(BootStrap.class,args);
    }
}
